package com.ruoyi.college.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 t_teacher
 * 
 * @author ruoyi
 * @date 2025-08-24
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师ID */
    private Long teacherId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 教师工号 */
    @Excel(name = "教师工号")
    private String teacherNo;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String majorName;

    /** 所属专业 */
    private Integer majorId;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 专业方向 */
    @Excel(name = "专业方向")
    private String major;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 是否在职 */
    @Excel(name = "是否在职", readConverterExp = "0=在职,1=离职")
    private Integer isActive;

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setTeacherNo(String teacherNo) 
    {
        this.teacherNo = teacherNo;
    }

    public String getTeacherNo() 
    {
        return teacherNo;
    }

    public void setMajorName(String majorName) 
    {
        this.majorName = majorName;
    }

    public String getMajorName() 
    {
        return majorName;
    }

    public void setMajorId(Integer majorId) 
    {
        this.majorId = majorId;
    }

    public Integer getMajorId() 
    {
        return majorId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("teacherNo", getTeacherNo())
            .append("majorName", getMajorName())
            .append("majorId", getMajorId())
            .append("title", getTitle())
            .append("major", getMajor())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("isActive", getIsActive())
            .append("createTime", getCreateTime())
            .toString();
    }
}
